home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 1 / BBS in a box - Trilogy I.iso / Files / Art / Art Tools / Pict Convert / Pict Convert Read Me next >
Encoding:
Text File  |  1993-05-05  |  1.4 KB  |  19 lines  |  [TEXT/ttxt]

  1.  
  2.   I had a need for Pict Convert because I have a large (very large) number of PICT's that are taking up tons of space and that I want in .GIF format anyway so that I might put them on a BBS that I may start.  The .GIF viewers I've seen don't support AppleEvents, so I needed to come up with a way around that.  Pict Convert does just that by taking a folder (or alias to a folder or volume) called "Target Dir", scanning it for .pict or .PICT files, and lauching "Target App" with them.  After Target App opens, Pict Convert "types" a Command-S, the file name, the enter key and a Command-Q, which gets received by the .GIF viewer.  (Obviously, this only works with viewers that default to saving as a .GIF)  After the viewer quits, Pict Convert deletes the original PICT file and goes on to look for the next...
  3.  
  4.   I doubt anyone else would have a practical use for Pict Convert, but I think the source has some handy examples of:
  5.  
  6.     • Using the process manager's Launch Application with a file name to open attached to it.
  7.     • Using process and event manager routines to manipulate a running program, achieving "poor man's AppleEvents".
  8.     • Using the "App Died" event.
  9.     • Recursive directory searching.
  10.  
  11.  
  12.   Thanks to all the folks on AOL that helped me with this project.
  13.  
  14.   If you find the code useful or educational, please let me know...
  15.  
  16.   --- Mike Domoy
  17.  
  18. AOL: Mike Domoy
  19. Fido: Michael Domoy@1:2605/611.3